package com.example.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "订单详情信息")
public class OrderInfoResp {

    /**
     * 商品ID
     */
    @Schema(description = "商品ID")
    private Long productId;
    /**
     * 关联订单号 关联 order表orderNo
     */
    @Schema(description = "关联订单号 关联 order表orderNo")
    private String orderNo;

    /**
     * 商品名称
     */
    @Schema(description = "商品名称")
    private String productName;

    /**
     * 商品图片
     */
    @Schema(description = "商品图片")
    private String image;

    /**
     * 支付价格
     */
    @Schema(description = "支付价格")
    private BigDecimal payPrice;
    /**
     * 商品价格
     */
    @Schema(description = "商品价格")
    private BigDecimal price;
    /**
     * 购买数量
     */
    @Schema(description = "购买数量")
    private Integer payNum;
}
